package com.scut.campus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.scut.campus.entity.Lost;
import com.scut.campus.query.LostQuery;
import com.scut.campus.query.base.PageQuery;
import com.scut.campus.vo.LostVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LostMapper extends BaseMapper<Lost> {
    List<LostVo> listLost(@Param("lostQuery") LostQuery lostQuery);

    List<Lost> queryMyLost(@Param("pageQuery") PageQuery pageQuery);
}
